'Declaration
<ExtensionAttribute()> Public Overloads Shared Function FindExtension(Of T As X509Extension)( _ ByVal certificate As X509Certificate2 _ ) As T
'Usage
Dim certificate As X509Certificate2 Dim value As T value = X509Extensions.FindExtension(Of T)(certificate)
[Extension()] public static T FindExtension<T>( X509Certificate2 certificate ) where T: X509Extension
[Extension()] public: static T^ FindExtensiongeneric<typename T> ( X509Certificate2^ certificate ) where T: X509Extension
Parameters
- certificate
- The certificate with extensions.
Type Parameters
- T
- The type of the extension.